package com.hsgene.order.service.api;

/**
 * 发放积分
 *
 * @author wxf
 * @date 2018/12/25 9:52
 **/

import com.hsgene.common.util.result.ApiResult;
import com.hsgene.order.service.api.impl.MqServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.Map;

@FeignClient(name = "ms-mod-message", path = "/v1.0/genetic/testing/mq", fallback = MqServiceImpl.class)
public interface MqService {

    @PostMapping("send")
    ApiResult sendMQ(Map<String, Object> content);
}
